package com.coldlz.mmp.ssl;

import com.coldlz.mmp.proxy.SslContextManager;
import io.netty.handler.ssl.SslContext;

public class SslTest {

    public static void main(String[] args) {
        String host = "www.newtouch.com";

        CASignerProvider signerProvider = RootCertificateHolder.getRootSignerProvider();
        CertificateContext certificateContext = CertificateContext.create(host, signerProvider);
        KeyPairStr userKeyPair = certificateContext.getUserKeyPair();
    }
}
